import utility

class ArtistEntity(object):
    def __init__(self,artistID,name,birthDate=None):
        self.__artistID = artistID
        self.__name = name
        self.__birthDate = birthDate

    ColumnNames = utility.Enum(
        artistID = "ArtistID",
        name = "Name",
        birthDate = "BirthDate"
        )
    
        
    def __get_artistID(self):
        return self.__artistID
    def __set_artistID(self, value):
        self.__artistID = value
    ArtistID = property(fget=__get_artistID, fset=__set_artistID)


    def __get_name(self):
        return self.__name
    def __set_name(self, value):
        self.__name = value
    Name = property(fget=__get_name, fset=__set_name)


    def __get_birthDate(self):
        return self.__birthDate
    def __set_birthDate(self, value):
        self.__birthDate = value
    BirthDate = property(fget=__get_birthDate, fset=__set_birthDate)
